home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 701-725 / 708 / intuisup / intuisup42.lha / Intuisup / source.lha / Library / libinit.c < prev    next >
C/C++ Source or Header  |  1992-03-15  |  3KB  |  134 lines

  1. /* $Revision Header *** Header built automatically - do not edit! ***********
  2.  *
  3.  *    (C) Copyright 1991 by Torsten Jürgeleit
  4.  *
  5.  *    Name .....: libinit.c
  6.  *    Created ..: Sunday 22-Dec-91 20:34:55
  7.  *    Revision .: 0
  8.  *
  9.  *    Date        Author                 Comment
  10.  *    =========   ====================   ====================
  11.  *    22-Dec-91   Torsten Jürgeleit      Created this file!
  12.  *
  13.  ****************************************************************************
  14.  *
  15.  *    Function table and init/free routine for IntuiSup library
  16.  *
  17.  * $Revision Header ********************************************************/
  18.  
  19.     /* Includes */
  20.  
  21. #include <exec/types.h>
  22. #include <libraries/dosextens.h>
  23. #include "/render/render.h"
  24. #include "/texts/texts.h"
  25. #include "/borders/borders.h"
  26. #include "/gadgets/gadgets.h"
  27. #include "/requester/requester.h"
  28. #include "/menus/menus.h"
  29. #include "/files/files.h"
  30. #include "/language/language.h"
  31. #include "/pointer/pointer.h"
  32.  
  33.     /* Imports from startup code */
  34.  
  35. IMPORT struct Library  *LibOpen(VOID);
  36. IMPORT BPTR LibClose(VOID);
  37. IMPORT BPTR LibExpunge(VOID);
  38. IMPORT VOID LibNull(VOID);
  39.  
  40.     /* Library function table -> needed in DataTable of startup code */
  41.  
  42. VOID *FuncTable[] = {
  43.  
  44.     /* Standard system functions */
  45.     LibOpen,
  46.     LibClose,
  47.     LibExpunge,
  48.     LibNull,
  49.  
  50.     /* Render functions */
  51.     get_render_info,
  52.     free_render_info,
  53.     open_window,
  54.     clear_window,
  55.     close_window,
  56.     avail_fonts,
  57.     ask_font,
  58.     open_font,
  59.  
  60.     /* Text functions */
  61.     display_texts,
  62.     print_text,
  63.     convert_unsigned_dec,
  64.     convert_signed_dec,
  65.     convert_hex,
  66.     convert_bin,
  67.  
  68.     /* Border functions */
  69.     display_borders,
  70.     draw_border,
  71.  
  72.     /* Gadget functions */
  73.     create_gadgets,
  74.     free_gadgets,
  75.     display_gadgets,
  76.     refresh_gadgets,
  77.     modify_gadget,
  78.     set_gadget_attributes,
  79.     activate_input_gadget,
  80.     gadget_address,
  81.     remove_gadgets,
  82.     get_msg,
  83.     reply_msg,
  84.  
  85.     /* Requester functions */
  86.     auto_request,
  87.     display_requester,
  88.     remove_requester,
  89.  
  90.     /* Menu functions */
  91.     create_menu,
  92.     attach_menu,
  93.     menu_item_address,
  94.     remove_menu,
  95.     free_menu,
  96.  
  97.     /* Text file functions */
  98.     open_text_file,
  99.     read_text_line,
  100.     close_text_file,
  101.  
  102.     /* Language functions */
  103.     build_language_text_array,
  104.     get_language_text,
  105.     free_language_text_array,
  106.  
  107.     /* Mouse pointer functions */
  108.     change_mouse_pointer,
  109.     restore_mouse_pointer,
  110.     move_mouse_pointer,
  111.  
  112.     /* End marker */
  113.     (VOID *)-1
  114. };
  115.     /* Prototypes */
  116.  
  117. BOOL LibInit(VOID);
  118. VOID LibFree(VOID);
  119.  
  120.     /* Library specific init routine */
  121.  
  122.    BOOL
  123. LibInit(VOID)
  124. {
  125.    return((BOOL)TRUE);
  126. }
  127.     /* Library specific expunge routine */
  128.  
  129.    VOID
  130. LibFree(VOID)
  131. {
  132.  
  133. }
  134.